package icu.qx.gbs.feign;

import com.ruoyi.common.core.web.page.TableDataInfo;
import com.ruoyi.common.security.annotation.RequiresPermissions;
import icu.qx.gbs.domain.GbsGood;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Component
@FeignClient(name = "yyj-mes-wm")
public interface WmGoodStorageInfoFeign {
    @RequiresPermissions("wm:info:product:list")
    @GetMapping("/wm/info/product/list")
    public TableDataInfo list(GbsGood gbsGood);
}
